{include file="public/head"}
{include file="public/script"}
<body>

  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-header">设置我的资料</div>
          <div class="layui-card-body" pad15>
            
            <div class="layui-form" lay-filter="">
              <div class="layui-form-item">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.username|default=''}" readonly class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改。后台登入名</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">昵称</label>
                <div class="layui-input-inline">
                  <input type="text" name="post[nickname]" value="{$info.nickname|default=''}" lay-verify="nickname" autocomplete="off" placeholder="请输入昵称" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">手机</label>
                <div class="layui-input-inline">
                  <input type="text" name="post[phone]" value="{$info.phone|default=''}" lay-verify="phone" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">邮箱</label>
                <div class="layui-input-inline">
                  <input type="text" name="post[email]" value="{$info.email|default=''}" lay-verify="email" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">上级管理员</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.ParentAdmin.username|default='无'}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">登录次数</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.login_count|default=0}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">登录时间</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.login_time|default=0|date='Y-m-d H:i:s'}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">登录ip</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.login_ip|default=''}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">上次登录时间</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.last_login_time|default=0|date='Y-m-d H:i:s'}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">上次登录ip</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.last_login_ip|default=''}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">注册时间</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.create_time|default=0|date='Y-m-d H:i:s'}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">更新时间</label>
                <div class="layui-input-inline">
                  <input type="text" name="" value="{$info.update_time|default=0|date='Y-m-d H:i:s'}" readonly autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-inline">
                  <input type="checkbox" name="" value="1" {eq name="info.status" value="1"} checked {/eq} lay-skin="switch" disabled lay-text="正常|禁用">
                </div>
                <div class="layui-form-mid layui-word-aux">不可修改</div>
              </div>
              <input type="hidden" name="post[id]" value="{$info.id|default=0}">
              <div class="layui-form-item">
                <div class="layui-input-block">
                  <button class="layui-btn" lay-submit lay-filter="setmyinfo">确认修改</button>
                  <button type="reset" class="layui-btn layui-btn-primary">重新填写</button>
                </div>
              </div>
            </div>
            
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
</html>